using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Transaction;

namespace Thaire.Investment.Repository.Mapping
{

    class UnitTrustParMap : ClassMap<UnitTrustPar>
    {

        public UnitTrustParMap()
        {
            Table("UNIT_TRUST_PAR");
            Id(x => x.ID, "UNIT_TRUST_PAR_ID").GeneratedBy.Identity();

            Map(x => x.UnitTrustHeaderID, "UNIT_TRUST_HEADER_ID");
            Map(x => x.Par, "UNIT_TRUST_PAR");
            Map(x => x.Date, "UNIT_TRUST_PAR_DATE");

        }


    }

}